﻿#ifndef NETWORKFRAMEMANAGER_H
#define NETWORKFRAMEMANAGER_H

#include <wx/wx.h>
#include <wx/socket.h>

class ClientInfo;

class NetworkFrameManager
{
public:
    NetworkFrameManager();
    ~NetworkFrameManager();

    /// 处理一个新的连接到达
    virtual void OnProcessConnectedNet(ClientInfo* client);
    /// 处理网络二进制消息
    virtual void OnProcessNetData(ClientInfo* client,int msgType,wxMemoryBuffer& data);
};

#endif // NETWORKFRAMEMANAGER_H
